package home_work3;

import java.util.ArrayList;
import java.util.Collection;

public class test6 {

	public static void main(String[] args) {
		Collection c = new ArrayList();
		c.add("one");c.add("two");c.add("three");
		System.out.println(c.size());
		System.out.println(c.contains("four"));
		System.out.println(c.isEmpty());
		c.clear();
		System.out.println(c.size());
		System.out.println(c.isEmpty());
	}

}
